package com.mh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.mapper.Mapper;
import com.mh.entity.SysRole;

import java.util.List;

public interface SysRoleMapper extends BaseMapper<SysRole> {

    //根据用户ID查询用户所拥有的角色
    List<String> selectRolesByUserId(Long uid);
}



